package com.gitee.wsl.mathematics.geometry.d2.base

/**
 * 朝向
 * @author XCL
 */
enum class Direction {
    UP, DOWN, LEFT, RIGHT;

    fun isVertical(): Boolean = (this == LEFT || this == RIGHT)
    fun isHorizontal(): Boolean = (this == UP || this == DOWN)
}


